package com.googlecode.shrinkme.leveldesign.datamodel;

import javax.swing.tree.DefaultMutableTreeNode;



public class LabelTreeNode extends DefaultMutableTreeNode {

	private static final long serialVersionUID = -972665952498283267L;
	
	/**
	 * Label d'un noeud pour un JTree
	 */
	private String label;

	public LabelTreeNode(Object o){
		super();
		label = "";
	}
	
	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	@Override
	public String toString() {
		return getLabel();
	}	
}
